﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="UC2_Withdraw.ascx.cs" Inherits="ATMSystem_G5_HaUI.UC2_Withdraw.UC2_Withdraw" %>

<div id="divall">
    <div id="left">
        <asp:Button runat="server" ID="btn1" Text="Button1" OnClick="btn1_Click" />
        <asp:Button runat="server" ID="btn2" Text="Button2" OnClick="btn2_Click" />
        <asp:Button runat="server" ID="btn3" Text="Button3" OnClick="btn3_Click" />
    </div>
    <div id="center">
        <div id="divtop">
            <div id="banner">
                <div id="divicon"></div>
                <div id="divbanknem">
                    <p>THE WORLD BANK</p>
                </div>
            </div>
        </div>
        <div id="divCenterMain">
            <asp:Panel ID="PanelWithdrawMain" runat="server" Visible="true">
                <%-- INSERT YOUR UPDATEPANEL BELOW HERE --%>
                <div id="amount-left">
                    <asp:Button runat="server" ID="btn500" Text="500000" />
                    <asp:Button runat="server" ID="btn1000" Text="2000000" />
                    <asp:Button runat="server" ID="btn2000" Text="3000000" />
                </div>
                <div id="amount-right">
                    <asp:Button runat="server" ID="Button1" Text="1000000" />
                    <asp:Button runat="server" ID="Button2" Text="2500000" />
                    <asp:Button runat="server" ID="Button3" Text="Other" />
                </div>
            </asp:Panel>

            <asp:Panel ID="PanelWithdrawOther" runat="server" Visible="false">
                <div id="Content">
                    Enter your amount you want to with draw below, number
                    <br />
                    you enter have to dvisible to 500000đ
                    <br />
                    <asp:TextBox ID="txtAmount" runat="server" ReadOnly="true" Width="200px" Height="30px" Font-Size="24px"></asp:TextBox>
                    <br />
                    <asp:Label ID="lbNotify" runat="server" Text="" ForeColor="Red"></asp:Label>
                    <br />
                    <p>Press button <b>Enter</b> to <b>Continue</b></p>
                </div>
            </asp:Panel>
            <asp:Panel ID="PanelConfirm" runat="server" Visible="false">
                <div id="Content">
                    <asp:Label ID="lbConfirm" runat="server" Text="DO YOU WAWNT PRINT RECEIPT?"></asp:Label>
                    <br />
                    <br />
                    <p>Press button <b>Enter</b> to <b>Agree</b></p>
                    <br />
                    <p>Press button <b>Cancel</b> to <b>Cancel</b></p>
                </div>
            </asp:Panel>

            <asp:Panel ID="PanelPrintReceipt" runat="server" Visible="false">
                <div id="Content">
                    <table>
                        <tr>
                            <td colspan="2">
                                <asp:Label ID="Label3" runat="server" Text="<b>PRINT RECEIPT</b>"></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td>CardNo :</td>
                            <td>
                                <asp:Label ID="Label4" runat="server" Text=""></asp:Label></td>
                        </tr>
                        <tr>
                            <td>Date Time:</td>
                            <td>
                                <asp:Label ID="Label5" runat="server" Text=""></asp:Label></td>
                        </tr>
                        <tr>
                            <td>Customer Name :</td>
                            <td>
                                <asp:Label ID="Label6" runat="server" Text=""></asp:Label></td>
                        </tr>
                        <tr>
                            <td>Amount :</td>
                            <td>
                                <asp:Label ID="Label7" runat="server" Text=""></asp:Label></td>
                        </tr>
                        <tr>
                            <td>Balance :</td>
                            <td>
                                <asp:Label ID="Label8" runat="server" Text=""></asp:Label></td>
                        </tr>
                    </table>
                    <br />
                    <br />
                    <p>Press button <b>Enter</b> to <b>Continue</b></p>
                </div>
            </asp:Panel>

            <asp:Panel ID="PanelThanks" runat="server" Visible="false">
                <div id="Content">
                    <h2>Thanks for using my bank!!!</h2>
                </div>
            </asp:Panel>
        </div>
    </div>
    <div id="right">
        <asp:Button runat="server" ID="btn4" Text="Button4" OnClick="btn4_Click" />
        <asp:Button runat="server" ID="btn5" Text="Button5" OnClick="btn5_Click" />
        <asp:Button runat="server" ID="btn6" Text="Button6" OnClick="btn6_Click" />
    </div>
    <div id="divcenter-empty"></div>

    <div id="divbottom">
        <div id="insercard">
            <asp:Label ID="Label1" runat="server" Text="Insert your card here!"></asp:Label><br />
            <asp:TextBox runat="server" ID="txtCard"></asp:TextBox><br />
            <asp:Button runat="server" ID="btnInsertCard" Text="Insert card" />
        </div>
        <div id="divnumpad">
            <div id="line1">
                <asp:Button ID="num1" runat="server" Text="1" OnClick="num1_Click" />
                <asp:Button ID="num2" runat="server" Text="2" OnClick="num2_Click" />
                <asp:Button ID="num3" runat="server" Text="3" OnClick="num3_Click" />
                <asp:Button ID="btnCancel" runat="server" Text="Cancel" />
            </div>
            <div id="line2">
                <asp:Button ID="num4" runat="server" Text="4" OnClick="num4_Click" />
                <asp:Button ID="num5" runat="server" Text="5" OnClick="num5_Click" />
                <asp:Button ID="num6" runat="server" Text="6" OnClick="num6_Click" />
                <asp:Button ID="btnClear" runat="server" Text="Clear" OnClick="btnClear_Click" />
            </div>
            <div id="line3">
                <asp:Button ID="num7" runat="server" Text="7" OnClick="num7_Click" />
                <asp:Button ID="num8" runat="server" Text="8" OnClick="num8_Click" />
                <asp:Button ID="num9" runat="server" Text="9" OnClick="num9_Click" />
                <asp:Button ID="btnEnter" runat="server" Text="Enter" OnClick="btnEnter_Click" />
            </div>
            <div id="line4">
                <asp:Button ID="numDot" runat="server" Text="." />
                <asp:Button ID="num0" runat="server" Text="0" OnClick="num0_Click" />
                <asp:Button ID="numSharp" runat="server" Text="#" />
            </div>
        </div>
    </div>
</div>
